package com.ruoyi.delivery.service;

import com.ruoyi.delivery.domain.DelLogisticInfo;

import java.util.List;

public interface IDelLogisticInfoService {
    /**
     * 获取当前物流信息
     *
     * @param deliveryOrderNo 运单号
     * @return 当前物流信息
     */
    DelLogisticInfo getCurrentLogisticInfo(String deliveryOrderNo);

    /**
     * 获取所有历史物流信息，按生成日期排序
     *
     * @param deliveryOrderNo 运单号
     * @return 所有历史物流信息
     */
    List<DelLogisticInfo> getAllLogisticDetailHistory(String deliveryOrderNo);

    List<DelLogisticInfo> getAllLogisticDetailHistoryByVehicle(String vehicleNumber);
}
